package com.example.zhuzehua.service;

import com.example.zhuzehua.entity.TbGoods;
import com.example.zhuzehua.entity.TbUser;
import com.example.zhuzehua.entity.TbUserinfo;

import java.util.List;

public interface TbUserService {
    List<TbUser> findAll();
    String add(TbUser user);

    String updateUser(TbUser user);
    String delUser(int id);
    List<TbUser> queryByName(TbUser user);
    List<TbUser> queryLikeName(TbUser user);
    List<TbUser> queryTiaojiao(TbUser user);
    String login(TbUserinfo userinfo);
    List <TbUser> findAllFenye(int pageNum,int pageSize);
    List<TbGoods> findAllWendu();
    List<TbGoods> findAllGoodsByType(int type);


}
